Fix the big endian case for 3-channel source. (Reported by David Zeuthen)
authorOwen Taylor <otaylor@redhat.com>
Thu, 23 Jun 2005 13:49:06 +0000 (13:49 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Thu, 23 Jun 2005 13:49:06 +0000 (13:49 +0000)
2005-06-23  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
        big endian case for 3-channel source. (Reported by
        David Zeuthen)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gdk/gdkcairo.c

index 352c4f6b25a6ede9ea0c2f8fb50bcd64e20ad65f..dbc938831ab527d81dc4f9b18d06288b545c072a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-23  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
+       big endian case for 3-channel source. (Reported by
+       David Zeuthen)
+
 2005-06-23  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkbutton.c (gtk_button_construct_child): Don't
index 352c4f6b25a6ede9ea0c2f8fb50bcd64e20ad65f..dbc938831ab527d81dc4f9b18d06288b545c072a 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-23  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
+       big endian case for 3-channel source. (Reported by
+       David Zeuthen)
+
 2005-06-23  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkbutton.c (gtk_button_construct_child): Don't
index 352c4f6b25a6ede9ea0c2f8fb50bcd64e20ad65f..dbc938831ab527d81dc4f9b18d06288b545c072a 100644 (file)
@@ -1,3 +1,9 @@
+2005-06-23  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
+       big endian case for 3-channel source. (Reported by
+       David Zeuthen)
+
 2005-06-23  Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkbutton.c (gtk_button_construct_child): Don't
index 16ff438aeecabd9c4f8f8b52bdf68a0e5f8b2d4f..5c011c08890bc10d7acf68a9ebfdf97c0122b08f 100644 (file)
@@ -180,9 +180,9 @@ gdk_cairo_set_source_pixbuf (cairo_t   *cr,
              q[1] = p[1];
              q[2] = p[0];
 #else    
-             q[0] = p[0];
-             q[1] = p[1];
-             q[2] = p[2];
+             q[1] = p[0];
+             q[2] = p[1];
+             q[3] = p[2];
 #endif
              p += 3;
              q += 4;